import request from '../../utils/request'

/**
 *获取全年报关完成订单的出口额度(租户)
 *
 */
export async function getOrderYearExportvolumeByParams({ date }){
    return request(apiPath.imagent +  "/api/report/yearExportvolume",{
        method: 'get',
        data: { date }
    });
}

/**
 *获取全年报关完成订单的出口额度(客户)
 *
 */
export async function getWebOrderYearExportvolumeByParams({ date }){
    return request(apiPath.imagent +  "/api/web/report/yearExportvolume",{
        method: 'get',
        data: { date }
    });
}


/**
 *获取全年报关完成订单数量(租户)
 *
 */
export async function getOrderYearNumByParams({ date }){
    return request(apiPath.imagent +  "/api/report/orderYearNum",{
        method: 'get',
        data: { date }
    });
}

/**
 *获取全年报关完成订单数量(客户)
 *
 */
export async function getWebOrderYearNumByParams({ date }){
    return request(apiPath.imagent +  "/api/web/report/orderYearNum",{
        method: 'get',
        data: { date }
    });
}

/**
 *获取客户全年已结汇的外汇收汇金额(租户)
 *
 */
export async function getForexYearRecamountByParams({ date }){
    return request(apiPath.imagent +  "/api/report/yearRecamount",{
        method: 'get',
        data: { date }
    });
}

/**
 *获取客户全年已结汇的外汇收汇金额(客户)
 *
 */
export async function getWebForexYearRecamountByParams({ date }){
    return request(apiPath.imagent +  "/api/web/report/yearRecamount",{
        method: 'get',
        data: { date }
    });
}